/**
 * 
 */
package prv.pursuivant.core.impl;

import java.util.List;

import prv.pursuivant.core.Kind;

import com.google.inject.Inject;

/**
 * Normal achievement.
 * 
 * Can have criteria, must have name and id equals to WoW internal data. Can be
 * child of CATEGORY, META, PARTITION or another NORMAL.
 * 
 * 
 * @author Kwinto
 * 
 */
public class NormalAchievType extends AbstractAchievType {

	/**
	 * @param name
	 * @param id
	 */
	// * TODO: I'm not sure if mindless @Inject-ing spree makes any sense.
	// * Doesn't hurt, anyway
	@Inject
	public NormalAchievType(String name, String id, List<String> criteria) {
		super(name, criteria);
		this.id = id;
	}

	/**
	 * Id of the achievement type
	 * 
	 */
	private final String id;

	/**
	 * 
	 * @see prv.pursuivant.core.achievtypes.AchievType#getId()
	 */
	public String getId() {
		return this.id;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see prv.pursuivant.core.achievtypes.AchievType#getKind()
	 */
	public Kind getKind() {
		return KindImpl.NORMAL;
	}

}
